home *** CD-ROM | disk | FTP | other *** search
- Path: news.cac.psu.edu!psuvm!cwf102
- Organization: Kyr's Condom Cantina
- X-Subliminal-Message: You want to buy my condoms... :)
- Rationale: Hack and Slay!!
- Date: Fri, 12 Apr 1996 20:56:39 EDT
- From: The Mighty Stymie <CWF102@psuvm.psu.edu>
- Message-ID: <96103.205639CWF102@psuvm.psu.edu>
- Newsgroups: comp.lang.c++
- Subject: Can't load .CHR file in Huge Memory Model?
-
- I am trying to load a third party .CHR font file using Borland Turbo C++ v3.0
- into an existing program that is compiled using a huge memory model. I have
- written a test program that is all of 10 lines or so to load the font and
- display a few characters. The test program works fine for any memory model
- except the huge. The file is called KANJ.CHR. If I remove the file from the
- current directory and run the program under a large memory model, I receive the
- error "Cannot find (KANJ.CHR)". If the file is in the current directory and I
- compile the program under huge, The error I get is "Cannot find (.CHR)" or
- "Cannot find (199.CHR)" or even "Cannot find (C++.CHR)". I can however load
- the GOTH.CHR that comes with TC++ in the huge model using my test program.
- Does anyone have a clue what is going on? It's obviously losing the name
- "KANJ" somehow... but how? Why? Why doesn't it lose "GOTH"? Any help would
- be graciously appreciated. I'm going to try this out using BC++ 5.0 to see if
- it makes a difference.
- -chris
- *******************************************************************************
- * ____ __ __ ____ Christopher W. Felter (alias: The Mighty Stymie) *
- * ---\ / / /--- cwf102@psuvm.psu.edu cwf102@email.psu.edu *
- * ---\ / /___/-- felt43@eetsg00.bd.psu.edu stymie@psu.edu *
- * \/ / / http://metro.turnpike.net/S/stymie *
- * / / "If I get home and there's sour cream on them, those *
- * / food, my husband's gonna be pissed. I said pissed!" *
- * / - Overweight, midwestern woman at Taco Bell, Oxford, *
- * Ohio (September 11, 1995) *
- *******************************************************************************
-